package feign;

import cn.hutool.core.util.StrUtil;
import com.ms.education.course.CourseApplication;
import com.ms.education.course.service.feign.VodFeignService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.LinkedList;

/**
 * <p>Project:education-test
 * <p>Powered by ms on 2023-01-18 16:07:39
 *
 * @author ms
 * @version 1.0
 * @since 1.8
 */
@SpringBootTest(classes = CourseApplication.class)
public class test {

    @Autowired
    private VodFeignService vodFeignService;

    @Test
    public void test01(){
        LinkedList<String> strings = new LinkedList<>();
        strings.add("123");
        strings.add("werw");
        strings.add("867");
        String join = StrUtil.join(",", strings);
        System.out.println("========================" + join);
        System.out.println(vodFeignService.removeBatchVideoByIds(join));
    }
}
